package com.tbit.main.dao.log;

import com.tbit.main.pojo.BmsAbnormal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author LMY
 * @create 2022-07-18 14:09
 */
public interface BmsAbnormalDao {

    List<BmsAbnormal> getAbnormal(Map<String, Object> map);

    Integer abnormal(Map<String, Object> map);

    Integer abnormalLog(Map<String, Object> map);

    List<String> abnormalBatteryNO(Map<String, Object> map);

    void handle(@Param("batteryNOs") String batteryNOs);

    /**
     * 删除
     *
     * @param batteryNO
     */
    void delete(String batteryNO);
}
